#pragma once

#include <deque>
#include "EngineObject.h"
#include "Message.h"
#include "IMessageQueue.h"

class MessageQueue : public IMessageQueue
{
public:
	MessageQueue(void);
	~MessageQueue(void);

	void Enqueue(Message m);
	Message Dequeue();
	bool HasMessage();

	AUTO_SIZE;
private:
	deque<Message> messageQueue;
};
